package demo2;

import demo3.TestDemo;

/**
 * @Author 12629
 * @Description：
 */
public class TestProtected extends TestDemo {

    public void testDemo() {
       /*TestDemo testDemo = new TestDemo();
        System.out.println(testDemo.a);*/
        System.out.println(super.a);
    }

    public void testDemo2() {
        TestProtected testDemo = new TestProtected();
        System.out.println(testDemo.a);
    }

}
